package com.zheng.russiaRec.controller 
{
	
	import com.zheng.russiaRec.model.P_Checkerboard;
	import com.zheng.russiaRec.staticData.EventData;
	
	import org.puremvc.as3.interfaces.INotification;
	
	/**
	 * 
	 * @author Mr.zheng
	 */
	public class C_DropStrong extends C_BaseCommand
	{
		
		override public function execute(notification:INotification):void 
		{
			var temp:Array=[];
			var dy:int=p_cb.getMinDis();
			if(dy>0){
				dy=dy-1;
			}else{
				dy=0;
			}
			temp=p_cb.setLiveToGroup(0, dy);
			p_cb.dealMoveStatus(temp,P_Checkerboard.CAN_MOVE_TO);
			sendNotification(EventData.P_GROUP_UPDATE);
			p_cb.setLgOffset(0,dy);
			
			p_cb.dealMoveStatus(null,P_Checkerboard.MOVE_BOTTOM);
			p_cb.isToBottom = true;
		}
		
	}

}